
//逻辑属于选择器 可在任意区域显示
.selectWrap {
	.selectCount{
		margin-left: 10px;
		&:before {
            content: '(';
        }
	}
    .checkedInfo {
        display: inline-block;
        &:before {
            content: '/';
        }
		&:after {
            content: ')';
        }
    }
}

.addContactTools{
    position: absolute;
    overflow: visible;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    @rightListWidth: 50%;
    .infoBar{
    	position: relative;
        height: 55px;
        padding: 10px 20px;
        border-bottom: 1px solid #eee;
        .rightPart{
        	position: absolute;
        	height: 32px;
        	right: 10px;
        	top: 50%;
        	margin-top: -16px;

        }
        .btnGroup{
            float: left;
            &.followLine{
                margin-left: -10px;
                margin-top: -10px;
            }
        }
        .invite-btn{
            display: inline-block;
            vertical-align: middle;
            float: right;
            padding: 6px 16px;
            margin-left: 10px;
            border-radius: 50px;

        }

        .tipsBar {
            float: left;
            // margin-left: 30px;
            margin-right: 30px;
            .totalWrap,
            .selectWrap {
                display: inline-block;
                line-height: 35px;
            }

            .totalWrap {
                .totalText:after {
                    content: '：'
                }
            }

            .selectWrap {
                margin-left: 25px;
                .checkedInfo {
                    display: inline-block;
                    &:before {
                        content: '/';
                    }
                }
            }
        }
        .tipsBar:after {
            content: '';
            display: table;
            clear: both;
        }


        [data-type="searchbar"]{
            float: left;
        }
    }
    .contactList{
        position: absolute;
        z-index: 2;
        overflow: auto;
        // padding-top: 10px;
        left: 0px;
        top: 0;
        right: 0;
        bottom: 0;
        .initialsLine{
            padding: 2px 8px;
            margin-top: 20px;
            background-color: #e4e8f2;
            color: #999;
            text-transform: uppercase;
            &:nth-child(1){
                margin-top: 0;
            }
        }
        .contact,
        .groupContact{
            position: relative;
            height: 64px;
            padding: 10px 10px 10px 70px;
            border-bottom: 1px solid #f3f3f3;
            .name,
            .description,
            .phone{
                display: block;
                vertical-align: middle;
                .text-ellipsis;
            }
            .status {
                position: absolute;
                left: 55%;
                top: 50%;
                margin-top: -11px;
            }
            .icon-avatar{
                position: absolute;
                left: 20px;
                top: 50%;
                margin-top: -20px;
            }
            .pinyin{
                display: none;
            }
            .description,
            .phone{
                color: #999;
                &:before{
                    content: '(';
                }
                &:after{
                    content: ')';
                }
            }
            .busy{
                position: absolute;
                right: 50px;
                top: 8px;
                line-height: 40px;
                color: #f74d3b;
            }
            .icon-checkbox,
            .icon-remove{
                position: absolute;
                right: 10px;
                top: 50%;
                margin-top: -8px;
            }
            &.show{
                display: block;
                margin-left: 50px;
                border-bottom: 0;
            }
            &.checked {
                //background-color: #f7f8fa;
            }
            &.hideAvatar{
                .icon-avatar{
                    display: none;
                }
                padding-left: 20px;
            }
        }
        .groupContact{
            display: none;
            margin-left: 50px;
            border-bottom: 0;
        }
        .groupLine{
            position: relative;
            padding: 8px;
            border-top: 1px solid #f3f3f3;
            .icon-plus{
                cursor: pointer;
            }
            .name{
                display: inline-block;
                vertical-align: middle;
            }
            .icon-avatar{
                margin-right: 10px;
            }
            .icon-checkbox{
                position: absolute;
                right: 40px;
                top: 50%;
                margin-top: -8px;
            }
            &:nth-child(1){
                border-top: 0;
            }
        }
        .contact.disabled {
            cursor: not-allowed;
            opacity: .5;
            filter: opacity(50);
        }
    }
    .candidateContactList {
        position: absolute;
        overflow: auto;
        left: 0;
        right: @rightListWidth;
        top: 55px;
        bottom: 0;
        border-right: 1px solid #ddd;

        .emptyContent {
            display: none;
            position: relative;
            z-index: 0;
            padding: 20px 10px;
            text-align: center;
        }
    }
    .contactInfo{
        position: absolute;
        overflow: auto;
        width: @rightListWidth;
        top: 55px;
        right: 0px;
        bottom: 0;
        padding:0 10px;
        .infoTitle{
            color: #999;
            padding-bottom: 16px;
        }
        .profile{
            .clearafter();
            .icon-avatar{
                float: left;
                margin-right: 10px;
            }
            .textInfo{
                float: left;
            }
            .busyTips{
                clear: both;
                padding-bottom: 15px;
                margin-bottom: 15px;
                border-bottom: 1px solid #e4e8f2;
            }
        }
        .busyInfo{
            font-size: 12px;
            padding-bottom: 16px;
        }
        .timeRangeList{
            .timeRange{
                position: relative;
                padding-left: 50px;
                .dayName{
                    position: absolute;
                    width: 48px;
                    left: 0;
                    top: 8px;
                    text-align: justify;
                }
                .time{
                    line-height: 36px;
                }
            }
        }
    }
    .checkedContactList{
        position: absolute;
        overflow: auto;
        width: @rightListWidth;
        top: 55px;
        right: 0px;
        bottom: 0;
        padding:0 10px;
        .contactList{
            left: 0;
            top: 0;
            right:0px;
            border-right: 0;
            .contact{
                //border-bottom: 0;
            }
        }
        .title{
            padding: 10px 0;
            .clearafter();
            .text{
                float: left;
            }
            .ratio{
                float: right;
            }
        }
        .checkedContact{
            position: relative;
            margin-bottom: 10px;
            .icon-avatar{
                margin-right: 10px;
            }
            .infoText{
                display: inline-block;
                vertical-align: middle;
            }
            .icon-delete{
                position: absolute;
                right: 0;
                top: 50%;
                margin-top: -10px;
            }
        }
    }
    .bottomLeft{
    	z-index: 1;
    	position: absolute;
    	height: 55px;
    	left: 0;
    	bottom: -55px;
    	padding: 10px;
    	line-height: 32px;
    }
//  .addContactBtn {
//      position: absolute;
//      z-index: 10;
//      left: 16px;
//      bottom: -43px;
//  }
}
